package com.cxyd.modules.wcs.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wcs_agv_state")
public class AgvStateEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    private String robotCode;
    private String robotDir;

    private String robotIp;

    private String battery;
    private String posX;
    private String posY;
    private String mapCode;
    private String speed;
    private String status;
    private String exclType;
    private String stop;
    private String podCode;
    private String podDir;
    /**
     * 创建用户
     */
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
    /**
     * 创建日期
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
    /**
     * 更新用户
     */
    private Long updater;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
}